package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/28 8:52
 */
@Data
@TableName(value = "arisk_illness", autoResultMap = true)
@ApiModel(value = "评估疾病表")
public class AIRiskIllness extends BaseEntity {
    @TableField(value = "name", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "疾病名称")
    private String name;

    @TableField(value = "question", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "提问内容")
    private String question;


    @TableField(value = "popular", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "科普-概念")
    private String popular;

    @TableField(value = "popular_percent", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "科普-发病概率")
    private String popularPercent;

    @TableField(value = "is_active", jdbcType = JdbcType.BIT)
    @ApiModelProperty(value = "状态标志 1：有效 0：无效")
    private Boolean isActive;


    @TableField(value = "sex", jdbcType = JdbcType.BIT)
    @ApiModelProperty(value = "适用性别，0:不限，1:男，2:女")
    private Short sex;
}
